﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DoanhThu.ascx.cs"
    Inherits="DoanhThu" %>
<style type="text/css">
    .style1
    {
        text-align: center;
    }
</style>
<asp:Label ID="lblError" runat="server" BackColor="White" BorderColor="White" Font-Italic="True"
    ForeColor="Red" Text="Label" Visible="False" Width="402px"></asp:Label>
    <table style="font-weight: bold">
        <tr id="tuNgay" runat="server">
            <td style="width: 139px; height: 26px; text-align: right">
                <asp:Label ID="lblTuNgay" runat="server" Text="Từ ngày:"></asp:Label></td>
            <td style="width: 242px; height: 26px; text-align: left">
                <input id="txtTuNgay" runat="server" onkeypress="" type="text" 
                    onfocus="showCalendarControl(this);"/></td>
        </tr>
        <tr id="denNgay" runat="server">
            <td style="width: 139px; height: 26px; text-align: right">
                <strong>
                    <asp:Label ID="lblDenNgay" runat="server" Text="Đến ngày:"></asp:Label></strong></td>
            <td style="width: 242px; height: 26px; text-align: left">
                <input id="txtDenNgay" runat="server" onkeypress="" type="text" onfocus="showCalendarControl(this);"/></td>
        </tr>
        <tr id="pgd" runat="server">
            <td style="width: 139px; height: 26px; text-align: right">
                Chi nhánh:</td>
            <td style="width: 242px; height: 26px; text-align: left">
                <asp:DropDownList runat="server" ID="cboCN" Width="500px" AutoPostBack="True" 
                    DataTextField="TenKho" DataValueField="MaKho" 
                    OnSelectedIndexChanged="cboCN_SelectedIndexChanged" TabIndex="12"></asp:DropDownList>
            </td>
        </tr>
        <tr id="gdv" runat="server">
            <td style="width: 139px; height: 26px; text-align: right">
                Nhân viên:</td>
            <td style="width: 242px; height: 26px; text-align: left">
                <asp:DropDownList runat="server" ID="cboGDV" Width="500px" DataTextField="TenKho" DataValueField="MaKho" TabIndex="13"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Button title="Kích nút này trước khi kích nút Xem báo cáo" ID="btnTH" runat="server" OnClick="btnTH_Click" Text="Tổng hợp báo cáo"
                    Width="127px" TabIndex="14" />
                <asp:Button ID="btnXem" runat="server" OnClick="btnXem_Click" Text="Xem báo cáo"
                    Width="109px" TabIndex="15" />
                <asp:Button ID="btnThoat" runat="server" OnClick="btnThoat_Click" Text="Thoát" Width="109px" TabIndex="16" /></td>
        </tr>
    </table>

<asp:SqlDataSource ID="dsCN" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
    ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>"></asp:SqlDataSource>
<asp:SqlDataSource ID="dsGDV" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
    ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>">
</asp:SqlDataSource>
